package cn.edu.scau.cmi.liqiquan.abstractFactory.factory;

import cn.edu.scau.cmi.liqiquan.abstractFactory.insurance.PingAnAccidentInsurance;
import cn.edu.scau.cmi.liqiquan.abstractFactory.insurance.PingAnAutomobileDamageInsurance;
import cn.edu.scau.cmi.liqiquan.abstractFactory.insurance.PingAnCasualtiesInsurance;
import cn.edu.scau.cmi.liqiquan.abstractFactory.insurance.PingAnInjuryInsurance;
import cn.edu.scau.cmi.liqiquan.simpleFactory.AccidentInsurance;
import cn.edu.scau.cmi.liqiquan.simpleFactory.AutomobileDamageInusrance;
import cn.edu.scau.cmi.liqiquan.simpleFactory.CasualtiesInsurance;
import cn.edu.scau.cmi.liqiquan.simpleFactory.InjuryInsurance;

public class PingAnFactory extends AbstracFactory{
	@Override
	public InjuryInsurance createInjuryInsurance() {
		return new PingAnInjuryInsurance();
	}
	
	@Override
	public AutomobileDamageInusrance createAutomobileDamageInusrance() {
		return new PingAnAutomobileDamageInsurance();
	}
	
	@Override
	public CasualtiesInsurance createCasualtiesInsurance() {
		return new PingAnCasualtiesInsurance();
	}
	
	@Override
	public AccidentInsurance createAccidentInsurance() {
		return new PingAnAccidentInsurance();
	}
}
